#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Times;
using Cephei.QL;
namespace Cephei.QL.Cashflows
{
    /// <summary> 
	/// ! This class implements part of the CashFlow interface but it is still abstract and provides derived classes with methods for accrual period calculations.
	/// </summary>
    [Guid ("96C72C08-EC84-4eb2-8473-D8E0E5C5D895"),ComVisible(true)]
	public interface ICoupon : Cephei.QL.ICashFlow
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Int64 AccrualDays {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime AccrualEndDate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double AccrualPeriod {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime AccrualStartDate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double AccruedAmount(DateTime prm1);
        /// <summary> 
		/// 
		/// </summary>
		 DateTime Date {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Times.IDayCounter DayCounter {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Nominal {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Rate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime ReferencePeriodEnd {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime ReferencePeriodStart {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Int64 AccruedDays(DateTime d);
        /// <summary> 
		/// 
		/// </summary>
		 Double AccruedPeriod(DateTime d);
    }   

    /// <summary> 
	/// ! This class implements part of the CashFlow interface but it is still abstract and provides derived classes with methods for accrual period calculations. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface ICoupon_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
    }
}

